home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5147 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: utpapa.ph.utexas.edu!tian
  2. From: tian@utpapa.ph.utexas.edu (Shiyang Tian)
  3. Newsgroups: comp.lang.c++
  4. Subject: How to make C++2LaTeX 3.0 work?
  5. Date: 2 Feb 1996 17:28:45 GMT
  6. Organization: Physics Department, University of Texas at Austin
  7. Message-ID: <4ethkd$505@geraldo.cc.utexas.edu>
  8. NNTP-Posting-Host: utpapa.ph.utexas.edu
  9.  
  10. Hi,
  11.  
  12. I am trying to install "C++2LaTeX 3.0" on my IBM RS/6000 computer. 
  13. But I got stuck because "flex 2.5.2" doesn't know the rules in 
  14. "c++2latex.l" and "objc2latex.l". I don't know anything about flex. 
  15. Please help!
  16.  
  17. Here is the error message I got:
  18. $ flex c++2latex.l
  19. "c++2latex.l", line 191: unrecognized rule
  20. $ flex objc2latex.l
  21. "objc2latex.l", line 173: unrecognized rule
  22.  
  23. Lines 191-195 in "c++2latex.l" read: (I add the line number. Line 173 in
  24. "objc2latex.l" is the same as line 191 in "c++2latex.l".)
  25.  
  26.  /*     2.   Double slash ``//'' comments mini scanner */ /* line 189 */
  27.  /*     2.1. Curly brace comment */                       /* line 190 */
  28. }[ \t]*"//"             { BEGIN (SLASHCOMMENT);        /* line 191 */
  29.                                 OUT ("\\}");           /* line 192 */
  30.                                 BTAB;                  /* line 193 */
  31.                                 FONT (comment_font);   /* line 194 */
  32.                                 OUT ("//");}           /* line 195 */
  33.  
  34. Is there anything wrong with this rule or is it a bug in "flex 2.5.2"? 
  35.  
  36. Thank you very much!
  37.  
  38. -- Tian
  39.  
  40.  
  41.